﻿using Microsoft.EntityFrameworkCore;
using Volo.Abp.MultiTenancy;
using Xms.Abp.Data;
using Xms.Abp.Storage;

namespace BackgroundJobManagement;

[IgnoreMultiTenancy]
[DynamicConnStringName(typeof(BackgroundJobManagementDbProperties), nameof(BackgroundJobManagementDbProperties.ConnectionStringName))]
public interface IBackgroundJobManagementStorage : IXmsStorage
{
    DbSet<BackgroundJobEntity> BackgroundJobs { get; }
    DbSet<BackgroundScheduleEntity> BackgroundSchedules { get; }
}
